<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>exa3_6</title>
</head>
<body>
<%! String username="";%>
<%
    username=request.getParameter("user");
    session.setAttribute("name",username);
%>
    很高兴认识<span style="color: red"><%=username%></span>!  <br/>
    <form method="post" action="exa3_7.jsp" name="fom">
      请输入您最喜爱的诗人：<input type="text" name="poet" /><br/>
      <input type="submit" value="提交">  <input type="reset" value="重填">
    </form>
</body>
</html>
